#pragma once
#include <wx/button.h>
#include <wx/image.h>

class wxImage;
class CSkinButton : public wxButton
{
 	DECLARE_DYNAMIC_CLASS(CSkinButton)
	DECLARE_EVENT_TABLE()
public:
	CSkinButton();
	virtual ~CSkinButton();

public:
	bool		SetImage(wxString path);

public:
	virtual bool	Enable(bool enable = true);

public:
	void	OnPaint(wxPaintEvent& event);	
	void	OnMouse(wxMouseEvent& event);

private:
	wxImage			m_Image;
	bool			m_MouseEntering;
	bool			m_LButtonDown;
};